QnA Set Format
The QnA set file has a specific format. In order for the upload to be successful you have to either fill in the flows train set template or update the existing flows train set file following the supported upload format.
This section provides description of all columns in the flows train set file.
Column | Mandatory | Description |
---|---|---|
Intent | yes | The name of the QnA the DRUID Platform uses in the backend. |
Language | yes | The language code for which you are providing the question. Make sure to map it to one of the languages defined on your bot. If there is no match, the line will be ignored. |
Row Type | yes |
Two possible values:
|
Utterance | yes |
The train phrase for the intent. Format: Plain text. Note: NER is not supported yet.
|
Category | no | The category of the intent. If provided, the existing intents will get the category updated. If missing, DRUID adds the new QnA flows under the category “Import”, while existing flows will keep their existing category. |
Description | no | The Description of the flow, in the respective language. If missing, the existing flow will keep the current Description, and the new created flows will have the Description set with the value in the "Intent" column. |
Response | no |
The value of the Message field on the first step in the flow. If value is provided in the Response field, at import, the value will overwrite the existing Message value. If theResponsevalue is empty, no changes are applied to the flow step. Format: markdown language. |
Security | no |
If provided, at import it will overwrite the name(s) of the security roles set as “Used by” on the flow. If it is empty at import, no changes are applied on the security settings. If you to want to provide multiple roles, enter comma-separated roles names. Example: Admin,User. Note: This field is mandatory only for row type Intent.
|
Follow-up Flow Name | no | If provided, at import type, the first step of the intent will be created / updated into trigger “Flow” type, and the referenced flow is set based on the provided follow-up flow name. |